<html>
	<head>
		<title>WebRTC Client</title>
		<link href="./css/main.css" rel="stylesheet" />
		<link rel="shortcut icon" href="#"/>
	</head>

	<body>
		<div>

<!--
			<div>
				<button id="connserver">Connect Sig Server</button>
				<button id="leave" disabled>Leave</button>	
			</div>

			<div>
				<input id="shareDesk" type="checkbox"/><label for="shareDesk">Share Desktop</label>
			</div>
-->

			<div id="preview">
				<div>
					<h2>Button:</h2>
					<div display="block">
						<label>token：</label><input type="text" id="token"
							value="eyJpdiI6IjVGRDlxK3piTHZNVEpDNWNzUmhyYnc9PSIsInZhbHVlIjoicjBrUmYyZXVaWkl4SU1jOVFqeW90Zz09IiwibWFjIjoiZjU1NjNiNTAyN2EzNDcxMGYzYWJmNTU0NDgzZDAwNTgxYjc3NzQ2ODc4YzYxNDJkNzQ0MGU2MTZiOWIzNmE5MSJ9" />
						<button id="con">连接</button>	
					</div>
					<label>对方id：</label><input type="text" id="other_uid" value="134"/>
					<label>对方临时id：</label><input type="text" id="other_client_list" />
					<div display="block">
						<button id="yes">yes</button>
						<button id="no">no</button>	
					</div>					
				</div>
				<div >
					<h2>Message:</h2>
					<textarea id="message"></textarea>
				</div>
				<div >
					<h2>Local:</h2>
					<video id="localvideo" autoplay playsinline muted></video>
					<div display="block">
						<label>设置最大RTP流：</label><input type="text" id="SpatialLayer_input" />
						<button id="SpatialLayer_button">确定</button>	
					</div>
					<textarea id="localvideo_message"></textarea>
				</div>
				<div>
					<h2>Remote:</h2>
					<video id="remotevideo" autoplay playsinline></video>
					<div display="block">
						<label>设置首选（最高）空间和时间层：</label><input type="text" id="PreferredLayers_input" />
						<button id="PreferredLayers_button">确定</button>	
					</div>
					<textarea id="remotevideo_message"></textarea>
				</div>
			</div>
		</div>

		<!-- <script src="/socket.io/socket.io.js"></script> -->
		<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script>	<!-- 应用兼容性 -->
		<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>	<!-- jQuery在线引用 -->
		<script src="js/mainBundle.js"></script>
	</body>
</html>
